<?php
namespace app\common\model;

use think\Model;

class Domain extends Model
{
	protected $insert = ['create_time'];

	public function setCreateTimeAttr(){
		return time();
	}

	public function getCreateTimeAttr($value){
		return date('Y-m-d H:i:s',$value);
	}
}